﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace TRec.Windows.UI
{
    public partial class SplashScreen : Form
    {
        public SplashScreen()
        {
            InitializeComponent();
        }

        protected override void OnPaint( PaintEventArgs e )
        {
            //  Do nothing here!
        }

        protected override void OnPaintBackground( PaintEventArgs e )
        {
            //base.OnPaintBackground( e );
            Graphics gfx = e.Graphics;
            gfx.DrawImage( Images.GetSplashScreen(), new Rectangle( 0, 0, this.Width, this.Height ) );
        }

    }
}
